home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / comm / ums / developer / interfaces / c / include / clib / ums_protos.h
Encoding:
C/C++ Source or Header  |  1993-11-15  |  4.8 KB  |  95 lines

  1. #ifndef CLIB_UMS_PROTOS_H
  2. #define CLIB_UMS_PROTOS_H
  3.  
  4. /*
  5.  * clib/ums_protos.h
  6.  *
  7.  * ANSI C prototypes for ums.library functions
  8.  *
  9.  * $VER: ums_protos.h 10.2 (15.11.93)
  10.  *
  11.  */
  12.  
  13. #ifndef LIBRARIES_UMS_H
  14. #include <libraries/ums.h>
  15. #endif
  16.  
  17. /* Pre-V8 functions */
  18. UMSUserAccount  UMSLogin             (char *,         char *);
  19. void            UMSLogout            (UMSUserAccount);
  20.  
  21. /************************** OBSOLETE !!! **************************************
  22. UMSError        UMSPutMsg            (UMSUserAccount, OldUMSMsg);
  23. OldUMSMsg       UMSGetMsgHdr         (UMSUserAccount, UMSMsgNum);
  24. UMSError        UMSGetMsgTxt         (UMSUserAccount, OldUMSMsg);
  25. void            UMSFreeMsg           (UMSUserAccount, OldUMSMsg);
  26. UMSMsgNum       UMSNextNew           (UMSUserAccount, UMSMsgNum);
  27. UMSMsgNum       UMSSearchID          (UMSUserAccount, char *);
  28. BOOL            UMSChangeID          (UMSUserAccount, UMSMsgNum,        char *);
  29. UMSMsgNum       UMSChainUp           (UMSUserAccount, UMSMsgNum);
  30. UMSMsgNum       UMSChainDn           (UMSUserAccount, UMSMsgNum);
  31. UMSMsgNum       UMSChainRt           (UMSUserAccount, UMSMsgNum);
  32. UMSMsgNum       UMSChainLt           (UMSUserAccount, UMSMsgNum);
  33. void            UMSGetGlobal         (UMSUserAccount, char *,           char *);
  34. void            UMSDumpConfig        (UMSUserAccount);
  35. *************************** OBSOLETE !!! *************************************/
  36.  
  37. UMSError        UMSErrNum            (UMSUserAccount);
  38. char           *UMSErrTxt            (UMSUserAccount);
  39. BOOL            UMSDeleteMsg         (UMSUserAccount, UMSMsgNum);
  40.  
  41. /************************** OBSOLETE !!! **************************************
  42. BOOL            UMSChangeAttributes  (UMSUserAccount, UMSMsgNum,        ULONG);
  43. UMSMsgNum       UMSNextStatus        (UMSUserAccount, UMSMsgNum,        UMSSet, UMSSet);
  44. UMSMsgNum       UMSSelectStatus      (UMSUserAccount, UMSSet,           UMSSet, UMSSet);
  45. UMSMsgNum       UMSSelectGroup       (UMSUserAccount, UMSSet,           char *);
  46. void            UMSSetStatus         (UMSUserAccount, UMSMsgNum,        UMSSet, UMSSet);
  47. UMSMsgNum       UMSPrevStatus        (UMSUserAccount, UMSMsgNum,        UMSSet, UMSSet);
  48. UMSMsgNum       UMSSelStatus         (UMSUserAccount, UMSSet,           UMSSet, UMSSet, UMSSet);
  49. UMSMsgNum       UMSSelGroup          (UMSUserAccount, UMSSet,           UMSSet, char *);
  50. UMSSet          UMSGetStatus         (UMSUserAccount, UMSMsgNum);
  51. void            UMSFlush             (void);
  52. WORD            UMSCleanMB           (void);
  53. void            UMSQuit              (void);
  54. *************************** OBSOLETE !!! *************************************/
  55.  
  56. /* V8 functions */
  57. /************************** PRIVATE !!! ***************************************
  58. void            UMSARexxQuery        (void);
  59. *************************** PRIVATE !!! **************************************/
  60.  
  61. /* V9 functions */
  62. /************************** OBSOLETE !!! **************************************
  63. UMSPHandle      AllocUMSPattern      (char *,         BOOL);
  64. void            FreeUMSPattern       (UMSPHandle);
  65. BOOL            MatchUMSPattern      (UMSPHandle,     char *);
  66. *************************** OBSOLETE !!! *************************************/
  67.  
  68. void            UMSExportedMsg       (UMSUserAccount, UMSMsgNum);
  69. BOOL            UMSCannotExport      (UMSUserAccount, UMSMsgNum,        char *);
  70. void            LogUMS               (UMSUserAccount, LONG,             char *, APTR *);
  71. UMSUserAccount  UMSRLogin            (char *,         char *,           char *);
  72. UMSMsgNum       WriteUMSMsg          (UMSUserAccount, struct TagItem *);
  73. BOOL            ReadUMSMsg           (UMSUserAccount, struct TagItem *);
  74. void            FreeUMSMsg           (UMSUserAccount, UMSMsgNum);
  75. UMSMsgNum       UMSSelect            (UMSUserAccount, struct TagItem *);
  76. UMSMsgNum       UMSSearch            (UMSUserAccount, struct TagItem *);
  77. char           *ReadUMSConfig        (UMSUserAccount, struct TagItem *);
  78. void            FreeUMSConfig        (UMSUserAccount, char *);
  79. BOOL            WriteUMSConfig       (UMSUserAccount, struct TagItem *);
  80.  
  81. /************************** PRIVATE !!! ***************************************
  82. LONG            UMSPrivateServerCall (LONG          , APTR);
  83. *************************** PRIVATE !!! **************************************/
  84.  
  85. /* Varargs functions */
  86. void            LogUms               (UMSUserAccount, LONG,             char *, APTR,   ...);
  87. UMSMsgNum       WriteUMSMsgTags      (UMSUserAccount, Tag,              ...);
  88. BOOL            ReadUMSMsgTags       (UMSUserAccount, Tag,              ...);
  89. UMSMsgNum       UMSSelectTags        (UMSUserAccount, Tag,              ...);
  90. UMSMsgNum       UMSSearchTags        (UMSUserAccount, Tag,              ...);
  91. char           *ReadUMSConfigTags    (UMSUserAccount, Tag,              ...);
  92. BOOL            WriteUMSConfigTags   (UMSUserAccount, Tag,              ...);
  93.  
  94. #endif
  95.